package com.game.framework.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.game.framework.dao.entity.UserInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p> * 鱼竿配置表 Mapper 接口 * </p>
 */
@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfoEntity> {

    Integer updateById(UserInfoEntity entity);

    UserInfoEntity selectByUserCode(@Param("userCode") Integer userCode);

    UserInfoEntity selectByPhone(@Param("phone") String phone);

    Integer selectCountByPhone(@Param("phone") String phone);
}